package model;

public class Conpendium
{
	private Long ID;
	private String name;
	private Ingredient ingredient;	
	
	public Long getID()
	{
		return ID;
	}

	public void setID(Long pID)
	{
		ID = pID;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String pName)
	{
		name = pName;
	}
	
	public Ingredient getIngredient()
	{
		return ingredient;
	}

	public void setIngredient(Ingredient pIngredient)
	{
		ingredient = pIngredient;
	}

	private static class Ingredient
	{
		private int quantity;
		private Item item;
		
		public int getQuantity()
		{
			return quantity;
		}
		public void setQuantity(int pQuantity)
		{
			quantity = pQuantity;
		}
		public Item getItem()
		{
			return item;
		}
		public void setItem(Item pItem)
		{
			item = pItem;
		}		
	}
}
